@php
$groomerStats = \App\Lib\Helper::groomercount();
$avgRating = $groomerStats['averageRating'] ?? '4.8';
$totalReviews = $groomerStats['totalSurveys'] ?? '44805';
@endphp
@if (Request::path() == '/')
{{-- Preload URLs MUST match the values in resources/views/includes/v7/home/latest-home.blade.php (lines 16 + 55).
If they don't match, the browser fetches BOTH the preloaded image and the rendered one — wasting bandwidth and
depriving the actual LCP image of fetchpriority. --}}
@if(!\App\Lib\Helper::isMobileUser())
@else
@endif
@endif
{{--
--}}
@if (Request::path() == '/')
@elseif (Request::path() == 'recurring-booking')
@elseif (Request::path() == 'pet-grooming-prices')
@elseif (Request::path() == 'location')
@elseif (Request::path() == 'reviews')
@else
@if(!empty($currentState) && isset($state))
@elseif(!empty($currentCounty) && isset($county))
@elseif(!empty($currentCity) && isset($city))
{{-- City-page JSON-LD is emitted by resources/views/locations/location-city-new.blade.php
as a single @graph block. Don't duplicate here. --}}
@else
@endif
@if(!empty($currentPage) || !empty($currentState))
@endif
@endif